function [MagX, MagY, MagZ, MilliSecond] = ImporterDonneesMag( ~ )
%Importer données du premier capteur
%   Detailed explanation goes here
    [fname, pathname] = uigetfile('C:\Users\Margaux\Desktop\axiamo\Storage\Exports\*.m;*.csv;*.mat','MATLAB Files');
    fpath = strcat(pathname,fname);

    M = dlmread(fpath,'\t',9,3);

    MagX = transpose(M(:,7));
    MagY = transpose(M(:,8));
    MagZ = transpose(M(:,9));
    L=length(MagX);
    MilliSecond = 1:L;

end



